package com.huluobo.a2109kotlinshopping.cart

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 *  Created by LC on 2024/1/15.
 */
data class CartBeanResult(
    val code: Int,
    val `data`: List<CartBean>,
    val message: String
)

@Entity(tableName = "order_bean")
data class CartBean(
    var count: Int,
    val goods_default_icon: String,
    val goods_default_price: Int,
    val goods_desc: String,
    val goods_id: Int,
    @PrimaryKey
    val id: Int,
    val order_id: Int,
    val user_id: Int,
    var isChecked: Boolean
)